package traveldream.ejb.DTO;

public class BookingDTO extends DTO{

	private TransportationDTO rDTO;
	private TransportationDTO gDTO;
	private HotelDTO hDTO;
	private int nOfPeople;
	
	public BookingDTO(){}

	public boolean checkDTO(){
		if(this.rDTO!=null)
			if(this.gDTO!=null)
				if(this.hDTO!=null)
					return true;
		return false;
	}
	
	
	public TransportationDTO getrDTO() {
		return rDTO;
	}




	public void setrDTO(TransportationDTO rDTO) {
		this.rDTO = rDTO;
	}




	public TransportationDTO getgDTO() {
		return gDTO;
	}




	public void setgDTO(TransportationDTO gDTO) {
		this.gDTO = gDTO;
	}




	public HotelDTO gethDTO() {
		return hDTO;
	}

	public void sethDTO(HotelDTO hDTO) {
		this.hDTO = hDTO;
	}

	public int getnOfPeople() {
		return nOfPeople;
	}

	public void setnOfPeople(int nOfPeople) {
		this.nOfPeople = nOfPeople;
	}
	
	
}
